package com.lonely.system.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lonely.common.core.domain.BaseEntity;
import com.lonely.system.enums.SysProductionLineEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * @author 黄志标
 * @date 2025-05-27 14:17
 * @Description: 产线表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_production_line")
public class SysProductionLine extends BaseEntity implements Serializable {

    /**
     * 产线名称
     */
    private String name;

    /**
     * 1: 职能组 2: 裁剪组 3: 车缝组
     * @see com.lonely.system.enums.SysProductionLineEnum.ProductionLineType
     */
    private Integer type;

    /**
     * 工厂id
     */
    private Long factoryId;

    /**
     * 状态
     * @see SysProductionLineEnum.ProductionLineStatus
     */
    private Integer status;
}
